package com.rnkrsoft.suyan.config.server.services.machine.services;


import com.rnkrsoft.suyan.config.server.services.machine.domains.*;

import javax.doc.annotation.ApidocInterface;
import javax.doc.annotation.ApidocService;

/**
 * Created by woate on 2018/5/13.
 * 机器服务
 */
@ApidocService("机器服务")
public interface MachineService {
    @ApidocInterface("修改机器")
    ToUpdateMachineResponse toUpdate(ToUpdateMachineRequest request);
    @ApidocInterface("修改机器")
    UpdateMachineResponse update(UpdateMachineRequest request);
    @ApidocInterface("删除机器")
    DeleteMachineResponse delete(DeleteMachineRequest request);
    @ApidocInterface("查看机器")
    ViewMachineResponse view(ViewMachineRequest request);
    @ApidocInterface("查询机器")
    QueryMachineResponse query(QueryMachineRequest request);
    @ApidocInterface("获取机器")
    FetchMachineResponse fetch(FetchMachineRequest request);
    @ApidocInterface("生成安全密钥")
    GenerateSecurityKeyResponse generateSecurityKey(GenerateSecurityKeyRequest request);
    @ApidocInterface("根据项目列出机器")
    ListMachineByProjectResponse listMachineByProject(ListMachineByProjectRequest request);
    @ApidocInterface("根据环境列出机器")
    ListMachineByEnvironmentResponse listMachineByEnvironment(ListMachineByEnvironmentRequest request);

}
